class AddImportantColumnToNews < ActiveRecord::Migration
  def up
    change_table :news do |t|
      t.boolean :important, :null => false, :default => false
    end
  end

  def down
    remove_column :news, :important
  end
end
